package com.ity.teamanagement.entity.inputParam;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author coderFu
 * @create 2021/11/10
 */
@ApiModel("后台添加主页模块参数")
@Data
public class AddHomeModuleParam {

    @ApiModelProperty("模块名称")
    @NotBlank(message = "模块名称不能为空")
    private String name;

    @ApiModelProperty("模块链接")
    @NotBlank(message = "模块链接不能为空")
    private String link;

}
